<template>
    <div>
        <div class="md-modal modal-msg md-modal-transition" :class="{'md-show':mdShow}">
          <div class="md-modal-inner">
            <div class="md-top">
              <button class="md-close" @click="closeModal">Close</button>
            </div>
            <div class="md-content">
              <div class="confirm-tips">
                <slot name="message"></slot>
              </div>
              <div class="login-wrap">
                <!-- <a href="javascript:;" class="btn-login">登 录</a> -->
                <slot name="btn-group"></slot>
              </div>
            </div>
          </div>
        </div>
        <div class="md-overlay" v-if="mdShow"></div>
    </div>
</template>
<script>
import "@/assets/css/login.css"
export default {
    props:["mdShow"],
    data(){
        return{

        }
    },
    methods:{
      closeModal(){
        this.$emit('close')
      }
    }
}
</script>



